package br.ufmg.dees.insane.ui.rich.prep.view;

import br.ufmg.dees.insane.commons.view.DrawingArea;
import br.ufmg.dees.insane.commons.view.IView;
import br.ufmg.dees.insane.ui.rich.prep.controller.PrepControllerHE;

/**
 * This class makes the view for the pre-processor.
 * @author Ferreira, Reginaldo & Pitangueira, Roque
 * @since october 2006
 */
public class PrepView extends IView{
	
	private InterfacePrep parent; 

//  ****************************************************************************
	
	public PrepView(InterfacePrep parent){
		this.parent = parent;
		super.setViewState(new PrepViewState());
		super.setDrawingArea(new DrawingArea((IView)this));
		super.setController(new PrepControllerHE((IView)this));
	}

//  ****************************************************************************
    
    public void setCoord(String x, String y)
    {
    	this.parent.setCoord(x, y);
    }

//  ****************************************************************************    
}  // end of this class
